package wang.Stream;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.function.Consumer;

public class List {
    public static void main(String[] args) {
        ArrayList<String> list=new ArrayList<>();
        Collections.addAll(list,"sss","SSS","qqq", "lll","qqqqq");
        list.stream().forEach(s -> System.out.println(s));
    }
}
